package com.ld.security.server.blog.modules.da.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ld.security.server.blog.modules.da.constant.DaRuleConstant;
import com.ld.security.common.mybatis.anno.SqlKey;
import com.ld.security.common.mybatis.base.entity.TreeEntity;
import com.ld.security.common.mybatis.constant.SqlCondition;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@TableName("da_rules")
@ApiModel("数据规则")
@Data
public class DaRuleEntity extends TreeEntity<DaRuleEntity>
{



  @ApiModelProperty("字段名")
  @SqlKey(SqlCondition.eq)
    private String fieldName;

  @ApiModelProperty("字段类型")
  @SqlKey(SqlCondition.eq)
  private DaRuleConstant.fieldType fieldType;

  @ApiModelProperty("标题")
  @SqlKey(SqlCondition.like)
  private String label;



  @ApiModelProperty("属性名")
  @SqlKey(SqlCondition.eq)
  private String attr;

  @ApiModelProperty("选择器")
  @SqlKey(SqlCondition.eq)
  private String cssSelect;




        }
